const mongoose = require("mongoose");
const Schema = mongoose.Schema;
// 创建数据结构
const seatsSchema = new Schema({
    displayName: String, // 1排1号
    theaterId: {
        type: "ObjectId",
        ref: "theaters"
    },
});
mongoose.model("seats", seatsSchema, "seats");